package com.megvii.koala.net.visitor;

import com.megvii.corelib.net.RequestParam;
import com.megvii.corelib.net.request.MegviiRequest;
import com.megvii.koala.net.Commands;

/**
 * Created by linyue on 15/12/29.
 */
public class UpdateVisitorAvatarRequest implements MegviiRequest
{
    public String visitorId;

    @RequestParam
    public byte[] avatar;

    public UpdateVisitorAvatarRequest(String visitorId, byte[] avatar)
    {
        super();
        this.visitorId = visitorId;
        this.avatar = avatar;
    }

    @Override
    public String getCommand()
    {
        return Commands.UPDATE_VISITOR_AVATAR + "/" + visitorId;
    }
}
